package us.codecraft.webmagic.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import us.codecraft.webmagic.proxyprovider.Proxy;

import java.util.List;

/**
 * @Author : xuaoping
 * @Date: 2021/8/19
 */
@Mapper
public interface ProxyDao {

    List<Proxy> getList();

    int updateUsable(@Param("id") int id, @Param("usable") int usable);
}
